﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, DebuggerStepThrough, XmlType(Namespace="http://www.onvif.org/ver10/schema"), GeneratedCode("svcutil", "3.0.4506.2152"), DesignerCategory("code")]
    public class User
    {
        private XmlAttribute[] anyAttrField;
        private UserExtension extensionField;
        private string passwordField;
        private TestTool.Proxies.Onvif.UserLevel userLevelField;
        private string usernameField;

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlElement(Order=3)]
        public UserExtension Extension
        {
            get
            {
                return this.extensionField;
            }
            set
            {
                this.extensionField = value;
            }
        }

        [XmlElement(Order=1)]
        public string Password
        {
            get
            {
                return this.passwordField;
            }
            set
            {
                this.passwordField = value;
            }
        }

        [XmlElement(Order=2)]
        public TestTool.Proxies.Onvif.UserLevel UserLevel
        {
            get
            {
                return this.userLevelField;
            }
            set
            {
                this.userLevelField = value;
            }
        }

        [XmlElement(Order=0)]
        public string Username
        {
            get
            {
                return this.usernameField;
            }
            set
            {
                this.usernameField = value;
            }
        }
    }
}

